package com.igeek.javase.extendstest;

/**
 * @author chenmin
 * 2023/7/13 11:27
 * @description TODO
 */
public class EmployeeTest {

    public static void main(String[] args) {
        Employee e1 = new Employee("小张" , "江苏无锡" , 6000.0);
        Employee e2 = new Boss("小董" , "安徽淮北" , 10000.0 , 120000.0);
        Employee e3 = new Manager("季总" , "安徽合肥" , 10000000.0 , "技术部");

        System.out.println("Employee = "+e1);
        System.out.println("Boss = "+e2);
        System.out.println("Manager = "+e3);
    }

}
